<div class="col-lg-12">
    <section class="panel">
        <header class="panel-heading">
            Usuario a Editar
            <span class="tools pull-right">
                <a class="fa fa-chevron-down" href="javascript:;"></a>
                <a class="fa fa-cog" herf="javascript:;"></a>
                <a class="fa fa-times" href="javascript:;"></a>
            </span>
        </header>
        <div class="panel-body">
            <?php echo $this->Form->create('User',array('class'=>'form-horizontal'))?>
            <?php echo $this->Form->hidden('id')?>
            <div class="form-group has-success">
                <label class="col-lg-2 control-label" for="data['User']['nombre']">Nombre Completo</label>
                <div class='col-lg-3'>
                    <?php echo $this->Form->text('nombre', array('class' => 'form-control', 'type' => 'text'))?>
                    <p class="help-block">Las primeras letras con mayusculas</p>
                </div>
                <label class="col-lg-2 control-label" for="data[User][jefe]">Jefe</label>
                    <div class="col-lg-2 icheck ">
                        <div class="square-blue single-row">
                            <div class="checkbox ">
                                <?php echo $this->Form->checkbox('User.jefe')?>
                            </div>
                        </div>                      
                    </div>
            </div>
            <div class="form-group has-warning">
                <label class="col-lg-2 control-label" for="data[User][username]">Username</label>
                    <div class="col-lg-3">
                        <?php echo $this->Form->text('username', array('class' => 'form-control', 'type' => 'text'))?>
                        <p class="help-block">Nombre de Usuario</p>
                    </div>
                    <label class="col-lg-2 control-label" for="data[User][password]">Password</label>
                    <div class="col-lg-3">
                        <?php echo $this->Form->text('password', array('class' => 'form-control', 'type' => 'text'))?>
                        <p class="help-block">Combinacion entre numeros y letras</p>
                    </div>
            </div>
            <div class="form-group has-success">
               <label class="col-lg-2 control-label col-lg-3" for="data[User][areas_id]">Area</label> 
               <div class="col-lg-3">
                    <?php echo $this->Form->select('area_id',$areas,array('class'=>'form-control m-bot15'))?>
                        <p class="help-block">Area de trabajo</p>
                </div>
               <label class="col-lg-2 control-label col-lg-3" for="data[User][role]">Rol</label>
               <div class="col-lg-3">
                   <?php echo $this->Form->select('role',array('Administrador'=>'Administrador','Usuario'=>'Usuario'),array('class'=>'form-control m-bot15'))?>
                   <p class="help-block">Inicio de sesion</p>
               </div>
            </div>
            <div class="form-group">
                    <div class="col-lg-offset-3 col-lg-3">
                      <button class="btn btn-primary" type="submit">Guardar</button>  
                    </div>
                </div>
        </div>
    </section>
</div>